import  service from './request';

// 一个请求封装一个函数
export function  shop_list(params={}){
    return  service.get('/shop/list',{params})
}

export function  tuan_list(params={}){
    return  service.get('/tuan/list',{params})
}

export function  shop_shopinfo(params={}){
    return  service.get('/shop/shopinfo',{params})
}

export function  shopcart_list(params={}){
    return  service.get('/shopcart/list',{params})
}

export function  user_login(params={}){
    return  service.post('/user/login',params)
}

export function  user_register(params={}){
    return  service.post('/user/register',params)
}